import React from 'react';
import {BrowserRouter} from 'react-router-dom';
import routes from './router';
import {renderRoutes} from 'react-router-config';
const App: React.FC = () => {
    return <BrowserRouter>{renderRoutes(routes)}</BrowserRouter>;
};

export default App;
